package com.sky.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

@Data
public class EmployeeDTO implements Serializable {

    private Long id;
    @ApiModelProperty(value = "用户账号",required = true)
    @NotEmpty(message = "用户账号不能为空")
    private String username;

    private String name;

    private String phone;

    private String sex;

    private String idNumber;

}
